/* Style général */
html, body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  /*   overflow: hidden;   */
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /*  overflow: hidden;    */
}
main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  background-image: url(../img/23031.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 20px;

}

main .submain {
  flex: 0;
  /*  border-radius: 50px;*/
  border-width: 0px 0px 0px 0px;
  border-style: solid;
  border-color: #000000;
  background-color: rgba(200, 200, 200, 0.1);
  padding: 35px 35px 35px 35px;
  color: #ffffff;
  min-width: 80vw;
  height: 50%;  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 200, 0, 0.9);
}
/* Header et menu */
header {
  background: #555;
  color: #fff;
  flex-shrink: 0;
  position: fixed;
  width: 100%;
}

header .menu-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  flex-shrink: 0;
}

header .logo {
  font-size: 1.5em;
  color: #fff;
  text-decoration: none;
  background-image: url(../img/logo.png);
  width: 250px;
  height: 35px;
  background-repeat: no-repeat;
  background-size: 80%;
}

/* Menu desktop */
header .menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

header .menu li {
  margin: 0 15px;
}

header .menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

header .menu a:hover {
  text-decoration: none;
  color: #00f8ca;
}

/* Menu hamburger */
header .menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
  cursor: pointer;
  display: none; /* Masqué par défaut */
}

/* Menu mobile */
@media (max-width: 768px) {
  header .menu {
    flex-direction: column;
    display: none; /* Masqué par défaut */
    width: 100%;
    background: #222;
    position: absolute;
    top: 50px;
    left: 0;
  }

  header .menu li {
    text-align: center;
    margin: 10px 0;
  }

  header .menu-toggle {
    display: block;
  }

  header .menu.show {
    display: flex; /* Affiché lorsqu'il est activé */
  }
}

/* Pied de page */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  /*  padding: 5px 0; */
  position: fixed;
  bottom: 0;
  width: 100%;
  flex-shrink: 0;
}
